//引入echarts
import * as $echarts from "echarts";
//引入VueEcharts组件
import VueEcharts from "vue-echarts";
import type { App } from "vue"


//创建插件
const vueEcharts = (app: App) => {
    //注册全局组件
    app.component("v-chart", VueEcharts)
}

//暴露
export { $echarts, vueEcharts }